package com.oms.bean;

public class User {

	private int id;
	private int user_id;
	private String username;
	private String password;
	private String real_name;
	private int status;
	private String email;
	private String phone;
	private String address;
	private String id_card;
	private int age;
	private String sex;
	private String postcode;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getReal_name() {
		return real_name;
	}
	public void setReal_name(String real_name) {
		this.real_name = real_name;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getId_card() {
		return id_card;
	}
	public void setId_card(String id_card) {
		this.id_card = id_card;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getPostcode() {
		return postcode;
	}
	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", user_id=" + user_id + ", username=" + username + ", password=" + password
				+ ", real_name=" + real_name + ", status=" + status + ", email=" + email + ", phone=" + phone
				+ ", address=" + address + ", id_card=" + id_card + ", age=" + age + ", sex=" + sex + ", postcode="
				+ postcode + "]";
	}
	public User(int id, int user_id, String username, String password, String real_name, int status, String email,
			String phone, String address, String id_card, int age, String sex, String postcode) {
		super();
		this.id = id;
		this.user_id = user_id;
		this.username = username;
		this.password = password;
		this.real_name = real_name;
		this.status = status;
		this.email = email;
		this.phone = phone;
		this.address = address;
		this.id_card = id_card;
		this.age = age;
		this.sex = sex;
		this.postcode = postcode;
	}
	public User(int user_id, String username, String password, String real_name, int status, String email, String phone,
			String address, String id_card, int age, String sex, String postcode) {
		super();
		this.user_id = user_id;
		this.username = username;
		this.password = password;
		this.real_name = real_name;
		this.status = status;
		this.email = email;
		this.phone = phone;
		this.address = address;
		this.id_card = id_card;
		this.age = age;
		this.sex = sex;
		this.postcode = postcode;
	}
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
